Creation of b-tree for searching using data structures in C++