Turing Machine Simulator C++