Brainfuck implementation on python