[WIP] 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.
@Krastanov Sorry I didn't get you. So should I check this only for the instance?