components of problem in ai