Using AI to solve problems