Refactoring roman number validation