Implemented class Line and tests.
Merge branch 'master' into threadsafeness
AlgorithmTest now initializes Lines correctly.