Added function to Binary Indexed Tree to find highest index -- O(log n)

Finds the highest index in the tree for a given frequency in a
non-negative frequency tree.