Python program for encrypting/decrypting text