Emulator for Turing machine