I need to implement a grid that can be expanded horizontally and vertically. It could look like this:
x-x x-x or x-x x-x x-x or x-x-x x-x x-x-x <
x-x x-x or x-x x-x x-x or x-x-x x-x x-x-x