Code for Scanner and Parser Assignment - SoftEng701 University of Auckland