Simple turing mashine simulator (not finished)