Created Lexer class.