private boolean checkSquare(int row,int col,int val) {
		int rowStart = (-1)*(row % 3);
		int colStart = (-1)*(col % 3);
		
		for(int i = rowStart; i < rowStart+3;i++) {
			for(int j = colStart; j < colStart+3;j++) {
				if(b[row+i][col+j] == val)
					return false;
			}
		}
		return true;
	}