A simple lexical analyzer written in c++ using flex tool for the COOL Language