naive solution to Remove Duplicates from Sorted List II