Create Segment.cpp