Implementation of a Doubly Linked List using C++