Simple calculator for modulo