https://sbozich.github.io/posts/iteration-over-combinatorics/
Iterating over combinatorics - sbozich