A Smart Solution to Traffic Congestions