I need to generate the board which will be always displayed as a grid with equal number of cells on each side based on user\'s choice (such as 3x3, 4x4).
with: