create double link list and insert node at front ,end, middle of the list