Doubly-Linked List and Template project