Some code for a Turing machine.