Generates all possible anagrams of an inputted string. Still needs some tweaks to avoid printing repeats!