Finish first code implement of doubly linked list.