AutoZone interview question

How do you implement a traffic light