Add SegmentTree

Add SegmentTree.