Implement part of singly linked list.