First working version of program. Successfully decrypts string in CIPHERTEXT global var.