static void setZeroMatrix( int[][] matrix, int n) {
		boolean[][] checker = new boolean[2][n];
		for ( int i = 0; i < n; ++i) {
			checker[0][i] = false;
			checker[1][i] = false;
		}
		for ( int i = 0; i < n; ++i) {
			for ( int j = 0; j < n; ++j) {
				if(matrix[i][j] == 0 ) {
					checker[0][i] = true;
					checker[1][j] = true;
				}
			}
		}
		for ( int i = 0; i < n; ++i) {
			for ( int j = 0; j < n; ++j) {
				if( checker[0][i] == true || checker[1][j] == true ) {
					matrix[i][j] = 0;
				}
			}
		}
	}