Make method str() to an overwritten operator __str__()
The method str returns the line segment coordinates as string.
The module defines a LineSegment class that displays a line segment in two-dimensional coordinate system. It is defined by a start- and an endpoint. It also contains a method to calculate the length.