Python Turing machine simulator.