Initial change to use pointers to pointers for the delete_node() function