Range Query With Fenwick Tree