How to make a led-row?

Here they use 8 leds but only light one at a time. Shuffle on and off commands and you can have all your leds lit up before you turn them off.