Function: Combinations

Generating combinations of a list in Python