private void init(SudokuGrid grid)
	{
		int i,j;
		for(i=0;i<9;i++)
		{
		for(j=0;j<9;j++)
		{
			if(grid.getGridVal(i, j) != 0)
			{
				solveGraph(i,j,grid.getGridVal(i, j)-1);
				solveProbability(i,j,grid.getGridVal(i, j)-1);
			}
		}
		}
	}	// end of init function