Create colorSegment.cpp