Power set algorithm. The solution set must not contain duplicate subsets.