Combinations function

Combinations