Completed createGrid Array