Finally fix the brainfuck emulator