Recursive string permutation in python · HackerTrans