Simulation of an WW2 Enigma 3-rotor machine