tests passing, program not converting numbers into numerals correctly