AI-Powered Traffic Controller for Autonomous Vehicles