programs to encrypt and decrypt plain text using a substitution cypher