PHP implementation of the Enigma machine