completed delete duplicates from sorted list