adding the 3rd solution to subsets