modified java code in leetcode_Median_of_Two_Sorted_Arrays.java