Hi, I need a code that calculates the powerset of a set.