Add median of two sorted arrays