subsets.cpp