solve Merge Sorted Array