solution to Subsets II