Solved closest_pair.