Generator Traffic

This example uses native JavaScript Generators (`function*`) to manage complex, sequential state transitions, simulating a traffic light system.