A simple crawler in java