TreeNode is main class

node.java having structure of tree