Brainfuck interpreter in java