A generic double linked list.