median of two sorted arrays of equal size
changed naming