refactored the switch method and put everything in a hash, plus created formula to convert numbers to numerals