root

Configure as "cabal configure -ftest" and run "SegmentTreeTests" for
functional test suite.