Finding the kth smallest sum in two sorted array.