Basic web crawler implemented in Java