added permutation of a string

this will go to intermediate level