Create SegmentTree.js