Subset II C++ Solution