Using hadoop to calculate distances from point A to all possible point. The source and destination point are randomly generated.