Create scan.l

scan.l is a flex file, it will be used for lexical analysis.