Find the nearest neighbors from a list of points