i have this problem given by our instructor on creating a lexical analyzer. can anyone help me with this?