Brainfuck interpreter and compiler