arr[i1][i2][i3][i4][i5][i6] = -1;
arr[i1][i2][i3][i4][i5][i6] = NOT_MEMOIZED;
    private void initArray(int[][][][][][] arr) {	for (int i1=0; i1<arr.length; i1++) {	    for (int i2=0; i2<arr[0].length; i2++) {		for (int i3=0; i3<arr[0][0].length; i3++) {		    for (int i4=0; i4<arr[0][0][0].length; i4++) {			for (int i5=0; i5<arr[0][0][0][0].length; i5++) {			    for (int i6=0; i6<2; i6++) {				arr[i1][i2][i3][i4][i5][i6] = -1;			    }			}		    }		}	    }	}    }