Closest pair problem using the recursive divide and conquer approach in java.