changed wordtester to only return words with given max length