small class to compute a = b mod c using Modular Exponentiation