Implement SplDoublyLinkedList::add