fully-implemented roman numerals conversion. just some refactorings required