A simple doubly linked list implementation