Java web crawler implementation