Create Segmented Least Squares.cpp