add doubly linked list and its test case