03: Use define_method in Recatangle

Use it to define the methods for the vertices of a rectangle.