Switch from python to c++. Now using LEDA graph library