Added function prototype for modular exponentiation