public int RoomCount()
	{
		int roomCount = 0;
		for (int index = genMin; index < genMax; index++)
		{
			for (int index1 = genMin; index1 < genMax; index1++)
			{
				if (layout[index][index1])
				{
					roomCount++;
				}
			}
		}
		return roomCount;
	}