Added class LineSegmentIntersection.

Added test class for LineSegmentIntersection.