Implemented solving of left recursion.