Finished the LR(1) closure calculate