https://en.wikipedia.org/wiki/Fenwick_tree
https://www.youtube.com/watch?v=CWDQJGaN1gY
https://www.geeksforgeeks.org/binary-indexed-tree-or-fenwick-tree-2/
https://www.topcoder.com/community/data-science/data-science-tutorials/binary-indexed-trees/