[python] How to get all subsets of a set? (powerset)