An Intelligent System to Reduce Traffic Accidents and Congestion through Real-Time Alerts and Alternative Routing