Closest pair of points problem for a two-dimensional associative array.