add operator overloading to the point class