Defines the Segment Tree, a data structure for maintaining sets of Intervals within a closed integer domain.