added __eq__ to tokens and added a symbol table