A small and flexible linked list implementation