ds = CreateDataStructure["DoublyLinkedList"]; ds["Append", "A"]; ds["Append", "B"]; ds["Append", "C"]; ds["SwapPart", 2, 3]; ds["Elements"]