Added basic TreeNode class