Finished templated doubly-linked list