Ciphers implemented in Python