Finding the two nearest points in O(nlgn) running time.