public boolean isGoal() {
		boolean isGoal = true;
		isGoal = isGoal && state[0][0] == 1 && state[0][1] == 2 && state[0][2] == 3;
		isGoal = isGoal && state[1][0] == 8 && state[1][1] == 0 && state[1][2] == 4;
		isGoal = isGoal && state[2][0] == 7 && state[2][1] == 6 && state[2][2] == 5;
		
		return isGoal;
	}