Updated template library with a simple singly linked list.