public void printTree(ArrayList<Board> parent)
	{
		
		ArrayList<Board> children=new ArrayList<Board>();
		for (int i=0;i<parent.size();i++)
		{
			Board currParent=parent.get(i);
			if(currParent.children.size()==0)
				return;
			System.out.print("Parent : ");
			currParent.printGameBoard();
			
			for (int j=0;j<currParent.children.size();j++)
			{
				Board currChild=currParent.children.get(j);
				currChild.printGameBoard();
				int result[]=currChild.bothUtility();
				
				System.out.println("blue is "+result[0]);
				System.out.println("green is "+result[1]);
				children.add(currChild);
			}
		}
		printTree(children);
	}