Updated Shape.java

Changed center to reference.