revise median_of_two_sorted_arrays