C++ metabolic network simulator