applications of permutations and combinations pdf