in process of creating FSM for lexer