How To Find Permutation Of String In Python