combinatoricsIterator function

Combination and Permutation Iterator