I think there an extention to this, if the traffic lights are represented by 5mm leds, then a pedestrian crossing / crosswalk, needs red / green 3mm leds and a button so you press the button and the lights eventually go to red, and the 3mm green comes on. In a further extension, you can build 2x traffic lights to represent a intersection so that there are lights for different directions.
At some point this gets a little complex, but yes, it is a good exercise.