結果 : check if two lines intersect python