See if two line segments intersect