A prison has nn cells with all cell doors shut initially.

prison_cells.pdf