inner DoubleNode class, add() for NumLinkedList