initial version of find kth num in two sorted array