anagram finder and usage of the inspect method