Closest Pair Problem Example