median of 2 sorted arrays, find kth element method