add function of powerset(conjunto das partes) got it on the internet.