Added String Permutations solution. This is probably the easiest way to solve the problem. A more serious approach would be to use bell algorithm