design and construction of an intelligent 3-way traffic light with priority to emergency vehicles