Add (partial) solution to Median of Two Sorted Arrays (Leetcode)