add function solutionSet and test it