C++ library for coevolving network models