Add IsNodeNameDuplicate method in Linkedlist class