ARRAY TO CONTROL 3 STEPPER MOTORS

I am generating step and directions on PWM pins which are connected to a parallel breakout board.
This (http://probotix.com/ready_to_run_driver_options/ ) is what powers the stepper motors. So I only need to generate a tone and direction signal to operate the motors. I am having trouble seeing where the confusion lies. I have done this in the past. All this post was inquiring about as if I could control motors using an array. I do not need help operating the motors. What I do need help with is if I can set up and array that has x,y,z columns with some amount of rows to control "something", lets take the motors out of the topic. For example

Lets say that I have a 4 x 4 LED matrix in which I would like to flash row by row, controlled by an array . Lets say the array is like this
{0,0,0,1},
{0,0,1,0},
{0,1,0,0},
{1,0,0,0}

where the 1 is on and zero is off. How do I iterate through each row to only turn on the desired LED?