A simulation of a Turing Machine in C++