Update and rename mergeSortedArray to Merge Sorted Array