Moved the encryption into a function. Added To-Do section in readme