Enter length of the grid(max 400):