permutations inside of the combination loop appear to be the way to use that, and not perumutations by themselves as permute permutes the whole array regardless of what the count is set at