Update and rename deleteDuplicatesFromSortedArray to Remove Duplicates from Sorted Array