I have an array of strings called initStrings and an array called squares. I need to take the strings from initStrings and add them one by one into different rows in the arr
You cannot put those strings into an integer array. squares should be an array of string. If it were, you could do :
squares[col][rows] = initStrings[(col * squares.length + rows) % initStrings.length];