A multi threaded web crawler in java