testing line/line intersections