Problem solving agents in ai with examples