text: Function that allocates a new node with the given data and NULL to its left and right pointers
code: TreeNode * newNode ( int data ) { TreeNode * Node = new TreeNode ( ) ; Node -> data = data ; Node -> left = NULL ; Node -> right = NULL ;