create class CoinsPermutations