add anagram substring checker