Citadel interview question

Implement some standard combinatorics functions (e.g. permutations, combinations, etc) in Python