Wordsquare solver