private void initBoard() {
		int last = b.length-1;
		
		for(int i = 0; i < b.length;i++) {
			b[i][0] = 4;
			b[i][last]=4;
			b[0][i] = 4;
			b[last][i] = 4;
		}
		
		for(int i = 1; i < last;i++) {
			b[i][1] = 6;
			b[i][last-1]=6;
			b[1][i] = 6;
			b[last-1][i] = 6;
		}
		
		for(int i = 2; i < last -1;i++) {
			for(int j = 2; j < last-1;j++) 
				b[i][j] = 8;
		}
		
		//set the corner values
		b[1][1] = 4;
		b[1][last-1] = 4;
		b[last-1][1] = 4;
		b[last-1][last-1] = 4;
		
		b[0][1] = 3;b[1][0] =3;
		b[0][last-1] = 3; b[last-1][0] =3;
		b[1][last] = 3; b[last][1] = 3; 
		b[last][last-1] = 3; b[last-1][last] = 3;
		
		b[0][0] = 2;
		b[last][last] = 2;
		b[0][last] = 2;
		b[last][0] = 2;
	}