A simple crawler in Java