update ANOTHER SOLUTION of median-of-two-sorted-arrays