p27 1.6 recursive permutation added