Permutations solved with STL