Lexical analysis program for CS243.