A library of algorithms in C++