in reply to for loop

Insert extra spaces every two columns, and to insert a new line every two rows. The modulus operator (%) will help you determine when the time is right.