created point subclass to depict centroids. Support for weighted points added to the class