A doubly linked list for data structures class