created 2d array for cells