Working web crawler, could be optimized
done, will clean up the code and comment later