Started on SegmentTree for organizing indexing.