Update and rename deleteDuplicates2 to Remove Duplicates from Sorted List II