working. permOfSting needs iterative approach

made palindrome accept the whole line
permOfString has a recursive way working don't know how to do iterative
way