* swap_nodes - Swap two nodes in a listint_t doubly-linked list. * @h: A pointer to the head of the doubly-linked list. * @n1: A pointer to the first node to swap. * @n2: The second node to swap.