added comments to scanner and parser. need clarification on precedence order for the associativity section of parser