Implemented 7.14 - Permutations of a string