Cipher machine that can both encrypt and decrypt messages with 3 available ciphers: substitution cipher, rail fence code and two-square cipher