Create LineSegment.java