https://image3.slideserve.com/6862106/an-algorithm-for-decimal-to-binary-conversion-t.jpg