algo4: dfs: Generate subsets I and II