Create 2.8 middle element of a doubly linked list.cpp