refactors the program to use a loop through the has of roman numerals
removes useless gem