C++ implementation of a lazy deletion tree.