Brainfuck compiler in python