To convert a decimal number to binary, first subtract the
largest possible power of two, and keep subtracting the next largest possible power form
the remainder, marking 1s in each column where this is possible and 0s where it is not.