turns base-ten numbers into binary