Solve word puzzle