Linked list bag implementation.