Median of Two Sorted Arrays

Exercise from LeetCode, it is accepted