Now correctly generates the entire LR parse table, but is yet to be compilable by any C++ compiler >.<