Custom doubly linked list