General Classical Cipher program