finished lexer and implemented it as a module with name Lexer