Modified Lexer code to support parsing

Enumerations added for all token types and corresponding outputs are changed by adding token numbers relating to the enum value