permutations sol