Added fenwick tree for sum (update on range) and tests.
Merge remote-tracking branch 'origin/master'