public static void count(int step, int amountOn) {
		copyMatrix();
		for (int row = 1; row < 10; row++)
			for (int col = 0; col < 10; col++)
				if ((m2[row - 1] & (1 << col)) != 0) {
					amountOn--;
					amountOn += change(row, col, m2);
					step++;
					m2[row] ^= 1 << col;
					m2[row - 1] ^= 1 << col;
				}
		if (amountOn == 0 && step <= 100)
			if (minSteps > step)
				minSteps = step;
	}