added some solution for combinations and permutations