Add GeneratePossibleWordsWithPruningSolver implementation