Use forked roman-numerals gem with to_medieval method
Use RomanNumerals.to_medieval so that 4, 14 are IIII, XIIII