ARRAY TO CONTROL 3 STEPPER MOTORS

Sorry about that, is just something I started with. I am trying to create an array that is filled with motor controls ie (x,y,z). Based on if the number is positive or negative the stepper motor will go left or right. I want it to just go through all the rows and perform the proper movements until the last row is reached, then the program will stop.