A Ruby implementation of augmented interval tree