solve question: median of two sorted arrays