public int simulate(AbstractAgent agent, int steps) {
		int score = 0;
		for (int t = 0; t < steps; t++) {
			step(agent);
			for (int x = 0; x < getWidth(); x++) {
				for (int y = 0; y < getWidth(); y++) {
					if (squares[x][y].isObstacle() || !squares[x][y].isDirty()) {
						score++;
					}
				}
			}
		}
		return score;
	}