C++ Implementation of a MENACE Machine