What you’ve described is the Binary Space Partition method (http://www.roguebasin.com/index.php?titl…)! That’s a fairly standard method for roguelikes, if I recall correctly — at least, during my brief stint looking up information, the BSP method was often linked. Super cool.