ARCHIVED - TOO MANY FEATURES FOR USE CASE
Implementation of Segment Trees as described in https://en.wikipedia.org/wiki/Segment_tree and Handbook of Data Structures and Applications.
The code started from https://github.com/BioJulia/IntervalTrees.jl.