Completed constructorRectangle