Implement Modular exponentiation
Remove unnecessary code from Modular exponentiation
Merge pull request #201 from SuprDewd/modular_exponentiation

Modular exponentiation