use non-recursive algorithm for Dungeon.Room.find_connected