Create new class for doubly linked lists.