@Override
    public boolean equals(Object o){
            if (o instanceof Point){
                    return this.getX().equals(((Point) o).getX()) && this.getY().equals(((Point) o).getY());
            }
            return false;
    }