Construct ship compartment using polyhedron and optional name.
Generate ship compartments for hull using 3-d grid of size nrooms.
Fits the grid of rooms in the bounding box of the hull.
Convert compartment to human-readable string.