added isTokenCorrect()/isLexemeCorrect() functions and some code in program()