Permutation and combinations generation; Lexicographic order combinations generation