Print All Permutations Of A String In Lexicographic Order