midian of two sorted array