Building a first draft of a grid with mines