private void inorderRec(List<Integer> list, TreeNode lastroot) {
		if(lastroot.left != null)
			inorderRec(list,lastroot.left);
		list.add(lastroot.val);
		if(lastroot.right != null)
			inorderRec(list,lastroot.right);
		
	}