Converts from base 10 to base 2