search engine written in C