use of set and frozenset in python
note for sets, frozensets, and generators