public static int getGreatestProdAcrossRows(int[][] arr, int maxDigits, int columns, int rows) {
		int prod = 0;
		for(int i = 0; i < rows; i++) {
			int tmp = 0;
			while((tmp) < (columns-(maxDigits-1))) {
				int tmpProd = 1;
				int curr = tmp;
				for(int it = 0; it < maxDigits; it++) {
					tmpProd = tmpProd * arr[i][curr+it];
					//		    System.out.print(i + ", ");
					//		    System.out.print(curr+it + ":");
					//		    System.out.print(arr[i][curr + it] + " ");
				}
				if(prod < tmpProd)
					prod = tmpProd;
				tmp++;
				//		System.out.println();
			}

			//	    System.out.println();
		}
		return prod;
	}