Create removeDumplicatesFromSortedArray