Anagram is a progam to list all possible combinations to a String input