added new_node function in an effort to assign memory to a node from the node pool.