python implementation of enigma emulator.