Finished up lexer for submission.