wrote stubs for finding the keys and added decryption algorithm

the decryption is just the inverse of the encryption method