Create segment-tree.cpp