Max Flow Min Cut Problem Based