Revised Gen. algorithm: gates are added to a room and built after all
the children.
Implemented finding the closest wall in a room and aligning Gate to it.
Untested.