For one thing, remove
You are inside the loopNrow = nrow + 1
Also, nrow will never get to 100 because you set the loop to 4 as upper limit
For one thing, remove
You are inside the loopNrow = nrow + 1
Also, nrow will never get to 100 because you set the loop to 4 as upper limit