Traffic Light with ultrasonic sensor

Looks like 64 seconds worth of delays in a single block. That's 64 seconds of not trying to sense anything. I may have miscounted somewhere but that's a VERY long time.

Turn this into a finite state machine and get rid of all those delays (use millis() for timing). This will make your code a lot more responsive and flexible.