resolve Median of Two Sorted Arrays