Added permutationCombination method and tests