Brute forces the sum of distances between a central point and some given points. It reports the maximum and minimum lengths.