Converts a number in base 10 into a base 2 number