Started with graph_tool, calculates MST and matching