Implemented some experimental pseudocode for 7-16

Generating all possible anagrams from an input string