Concept Flow - Insert at End of Doubly Linked List
Create new node with data
Is list empty?
Set head = new, tail = new
Done
new.prev = tail
Update tail = new
Done
Create a new node, check if list is empty. If empty, set head and tail to new node. Otherwise, link new node after tail and update tail pointer.
