added matchings, networks and flows and Gauss-Elimination