Flatten and deflatten doubly-linked list