A Turing machine emulator written in Python