Singly linked list example