Remove Duplicates from Sorted List
code