Designing traffic light control system