Implementation of double linked list