subsets 2nd solution