An enigma machine written in Python 2