A C++ implementation of a binary tree