Update lexical_analyzer.py

Added if stmt