Fixing bug in key checking and making use of the totient function a bit more obvious and clear.  Also adding RSA and Totient function definitions to README.