dfs solve subset problem