Program to convert numbers from and to base ten