Solver for Wordiest game