Ford Fulkerson

Why a custom min function?