started implementing doublylinkedlist