Update Rectangle.java

Rectangle class