Rectangle Class properly updated

It is updated on each step and can be returned from  a getter.