fixed search to use a has instead of string and modified layout of anagrams"