Problem solving agents in ai pdf