remove duplicate in linkedlist