Finds anagrams of a string given a list of valid words