merge_sorted_array solution 2