Base 10 to Base X Conversion