modified Subsets.c