Concept Flow - Create and Initialize Doubly Linked List
Create new node with data
Set node.prev = null
Set node.next = null
Set head = node
Set tail = node
Done
Create a new node with data, set its prev and next pointers to null, then set both head and tail to this node to initialize the doubly linked list.
