C++ implementation of a B Tree