updated lexical-analyzer.py