Permutation and Combination functionality implemented.