Programming traffic light, want multiple loops at random

UKHeliBob:
Does your sketch do what you want or expect as it is currently written ?

What does the setup function do ??

I am not quite sure.... The code for my smaller walk/don't walk light worked in this manner. The code compiles fine, but this is the way the book said to do it. Maybe my book sucks? I learn by practice. So, I'm having to learn as I go. I haven't gotten to arrays yet; I've just made it past digitalWrite, integer setups and delay :stuck_out_tongue: