changes. Added new function to print out the decrypted text into a .txt file