Create FenwickTree, FenwickTree2D and StaticBinaryTree