Rewrite more simple code : use Array#filter to returns only words matching anagram of first word