def inter_point_point(p1, p2):
    """intersection function for Point and Point
    input:
    p1: Point
    p2: Point

    output:
    intersection
    """
    if p1 == p2:
        return p1
    else:
        return None
