Commented the brainfuck solution in detail