Create head-tail-mid.cpp

8. given a double linked list with head and tail pointers, find the middle element of the linked list