Solved SubSetsWithDup problem with an recrusive method