Refactorizing Modern_roman_numerals.rb