Word game and puzzle solver