print "", join ("", splice (@array, 0, NUM_COL) ), "\n" while @array;