fix #include in range.h
+ segment_2d in segment.h
+ task1
+ task2
+ task3