Continue implementing methods for the singly linked list.