Range Sum Queries
Updated
Codechef A3
Generic Segment Tree