Backtrack Print all permutations for N