add permutations
add permutations ii