Fixed and tested Activity_Anagram function