MySolver solves forward flows. Added tests.