Create streamSeg.cpp