Brainfuck implementatin in PHP with RLE-like optimization