Added 2D binary indexed tree.