Added documentation for Segment Tree APIs