Interval tree implementation in emacs lisp