crap seems to be sorta working for toy example, TODO: calculate max_flow