Line3D class

This PR is a work in progress, contains a `base` class along with `Line3D` and `Segment3D` classes.Yet to add more methods and `Ray3D` class along with tests.
And the previous functionality should be preserved somewhere? Why is the new implementation not tested?