Sequencing and merging programs

This post describes a state machine which will do what you want - with some modifications, mainly adding states to account for all the LEDs.

If you choose to explore this I suggest you start at the opening post since the state machine is the culmination of a progression of small steps.

Good luck!