all-subsets function

Create all subsets