Range Query With Segment Tree