Update parserClasses.h

wrote the getlast pointer and get first pointer funtions in token list