I have to find all the possible combinations with the elements of an array with size of 6 and then store them in (i guess it must be) a 2d array.To do that, I modified (a little