Autonomous AI Systems: Planning & Reasoning