Enigma machine simulator and cryptanalysis tool