Minimalist brainfuck interpreter in python