Blinking two LEDs in and out of phase

Read up on the 'static' keyword.