cycling 4 LEDs at varrying speeds

The blink without delay example has about four key lines.
Understand those lines (play with the code, add extra cycles or different on/off times), and you're well on your way to doing what you want.