title: Turing Machine Simulator
body: <p>I need to design a Turing Machine Simulator in C++ that takes in an input file that goes something like this: </p>
  
  <p>Q:q1,q2,q3,q4<br/>
  A:0,1<br />
  Z:0,1,x<br />
  T:q1,0,q2,x,R<br />
  T:q1,1,q2,x,R<br />
  T:q2,0,q2,0,R<br />
  ...<br />
  S:q1<br />
  F:q3,q4<br /></p>
  
  <p>Where Q is states, A is input values, Z is tape alphabet, S is start state, F is accept and reject states.  </p>
  
  <p>It needs to handle an input where it takes in the number of inputs, the input strings and accept or reject.</p>
  
  <p>So if it input is:<br />
  3<br />
  0,#,1,1<br />
  1,1<br />
  0,1,0<br /></p>
  
  <p>the output would print out the steps and whether it accepts or rejects.</p>
  
  <p>I need to create a TM that performs arithmetic operations, one that performs string operations, and another of my choice.  </p>
  
  <p>Any help on how to get started is appreciated.</p>