Chewy Interview Question

Implement array flat method. check if words are anagrams