given a set, find its powerset