class implemented, required given input checks syntactically and to give more info about wrong Roman letters this check extended with one more function.