Converting a Number in Another Base to Base10