Added the for loops to populate the gird with blanks