Update Rectangle.java

union