Making an AI plan