Constructed the framework of the TreeNode.