remove duplicate in singly linkedlist