Universal turing machine emulator