find all subsets that sums S