Fixed some bugs in LRParser, and identified another bug. (Will fix that
later)
LRParser should be practically finished after those bug fixes.