Brute-force approach to find valid words for the WordCrack game