construct the data type of 2D point and initial procedure of finding intersection points in 2 sets
finish the function of finding the intersection points in 2D
reconstruct the function of 'findInterPoint'