Add method comment in Linkedlist class