Class RectangularRoom

done the first part of problem 1