Added LineSegment.java