Permutations

This program calculates all permutations of given input

Enter a string that you want to re-arrange all its letters, e.g. "1234","1122":