Better implementation of my C++ Enigma machine.