add func for dict occur
add word anagram func