Notes in code might be in the wrong place (p90-91)

The code that explains how to build random rooms has 6 notes.

I would say that note (5) which speaks about rect for_each should be moved to just after note(6) - which is where the for_each is used.

And I would say that note (6) about setting the contents, should be moved perhaps to tiles[idx] = Floor