Add freeNode() function, modify insertNonfullNode.