Trouble with While{} and duplicateMovieClip

Hello, I’m trying to make a matrix of movie clips. To do this, I have two while statements, one inside the other. The interior is for the number of columns and the exterior is for the number of rows. The movieclip that I want in every entry of the matrix is called ‘entryspace’. What ends up happening is that only the last row shows up at the bottom. There must be an error in the following but I can’t find it. I’ve also attached the entire file. Please help, somebody. Thanks

on (release) {
i = 0;
xspot = 500;
yspot = 90;
TestArray = new Array();
TestArray.length = columns-1;
i = 0;
j = 0;
while (j<rows) {
while (i<columns) {
duplicateMovieClip ("_root.entryspace", “entryspace”+j+i, i);
_root[“entryspace”+j+i]._x = xspot;
_root[“entryspace”+j+i]._y = yspot;
_root[“entryspace”+j+i].entry = i+1;
xspot -= 40;
xspot = 500;
yspot += 36;