icompositions function

Compositions iterator