a simple web crawler in c++