Microsoft Interview Question

Design a traffic light system