simulator.h: Add NB_STATE
Add a generator to alloc and fill a board randomly.