Algorithm code library ( C++ )