Create median-of-two-sorted-arrays(full array scan)