got a basic turing machine simulation working