A simple program to simulate Turing machines and other automata.