RomanCalculator: add modulo function