A Lexical Analyzer written in c++