build RectangularRoom class