traffic light and solution