Add accessors to the Point class