Remove testing/usage comments
Reorder code
Use stdin for all encryption/decryption input
Add a test routine