Haskell version of Powerset