programming relay shield

Try out the blink example. It looks like the shield is just "if you put the pin on, the relay turns on," so the blink example (with pins 4, 5, 6, or 7 instead of 13) will turn the relays on and off.

Then just play with the digitalWrite and delay functions.