Finish subset.cpp