all subsets of an array