Implementation of the Enigma Machine in Python