private boolean probabilityLogic(SudokuGrid grid)
	{
		boolean isPossible = true; 
		boolean change = false;
		int i,j;
		
		while(isPossible)
		{
			isPossible = false;
			
			for(i=0;i<9;i++)
			{
				for(j=0;j<9;j++)
				{
						
					if(((boxProbability[i][j].xpectedNum).size()==1)&&(boxProbability[i][j].isFinal == false))
					{
						isPossible =true;
						Iterator<Integer> iter = (boxProbability[i][j].xpectedNum).iterator();
						Integer first = iter.next();
						solveProbability(i,j,first-1);		
						solveGraph(i,j,first-1);
						grid.setGridVal(i, j, first);
						change= true;
					}
				}
			}
		}// end of while loop
	
		return change;
	}