added an implmentation of a doubly linked list nased on the single linked list