Create segment.c