Moved en/decryption to own functions
Added dirty test for proper en-/decryption
Changed docstring of main()