Cleaned up source code and added decryption operation for table entries.
Further, the functionality that is required to encrypt and decrypt the
history file has been added. I have not implemented history file
decryption, however, look at the PseudorandomPermutationTests class to
see how this would be done.