Added the reference C++ implementation