Ex8.4

Write a method to compute all permutations of a string.