Working with multidimensional array

Incidentally, you may want to read the other thread you made about this. Cause…that’s… a very complicated way to generate permutations.