Implemented static helper function node_new() and node_free()
Added comments to newtree.c to describe functions