Update parserClasses.cpp

Added function that sets value to tokens so it can be matched to an identifier