How To Generate All Permutations Of A String In Python