Simple AI for Balda word game.