studied doubly linked list