Renamed Line class to LineSegment class