Added comments of the questions prof bergmann wants
Cleaned up encrypt and decrypt
Added comments. Could not optimize modPower