Committing for debugging purposes. Also added a global variable to store the last matched token. This is for error messages in semantics checker.