put the Rectangle methods on the prototype