Refactoring Anagram - Closes #4