public static void process(int[][] matrix) {
		BitSet rows = new BitSet(matrix.length);
		BitSet columns = new BitSet(matrix.length);
		for (int i = 0; i < matrix.length; i++) {
			for (int j = 0; j < matrix.length; j++) {
				if (matrix[i][j] == 0) {
					rows.set(i);
					columns.set(j);
				}
			}
		}
		for (int i = 0; i < matrix.length; i++) {
			if (rows.get(i))
				setZeroToRow(matrix, i);
		}
		for (int j = 0; j < matrix.length; j++) {
			if (columns.get(j))
				setZeroToColumn(matrix, j);
		}
	}