Added support for roman numerals in input and output