algo4: binarysearch: Median of two sorted arrays