5x5x5 LED cube help

"controlling 5 LEDs at a time, and doing that in a loop of 5 that is inside another loop of 5, and you have controlled all 125 LEDs."
I have posted that before. Doubt I could find it with a forum search - I can post it again when I get home.