simple text search engine in c.