lexical analyser using c