Added some more test cases. Fixed a bug with book_encrypt and book_decrypt where it would break if the key was shorter or longer than the plaintext or ciphertext.