Update and rename deleteDuplicates1 to Remove Duplicates from Sorted List