problem 1: RectangularRoom