c++ web crawler and indexer