need to finish find kth smallest in two sorted array function.