Arduino Traffic Light Example

So here is an example I wrote for some students.  This simulates traffic lights with one arduino for each direction and uses a random timer to decide which device turns green first - then the devices control each other (each can have different times but the code is the same on both devices.