Create a doublylinkedlist using nodes