An Enigma machine implementation in C++