Small changes in singly linked list