lex project for cs 410.