proc insert[T](L: var DoublyLinkedList[T]; a, b: DoublyLinkedNode[T])
proc insertPrev[T](L: var DoublyLinkedList[T]; a, b: DoublyLinkedNode[T])