A little update

Update of Segment class. Operators of equivalence and some more stuff