median of two sorted arrays finished