Implementation of a double linked list