private void DepthFirst2(TreeNode n,TreeNode n2)
	{
		//System.out.println("this is dfs2");
		if(flag!=false)
		{
			if(n.data!=n2.data)
			{
				flag=false;
				System.out.println("not a subtree");
			}
		if((n.lchild!=null&&n2.lchild!=null))
		{
		
			DepthFirst2(n.lchild,n2.lchild);
			
		}
		else if(n.lchild==n2.lchild){}
		else
		{
			System.out.println("wrong branching");
			flag=false;
		}
		if(n.rchild!=null &&n2.rchild!=null)
		{
			DepthFirst2(n.rchild,n2.rchild);
		}

		else if(n.rchild==n2.rchild){}
		//if((n.rchild!=null && n2.rchild==null)||(n.rchild==null && n2.rchild!=null))
		else {
			System.out.println("wrong branching");
			flag=false;
			}
			}
		
	}