bug fix, use [ent] instead of [dist] as mark

if there is 0 cost arc, it's possible that the shortest dist
is exactly inf
Merge pull request #11 from danielf/graph_dev_mincostflow

bug fix, use [ent] instead of [dist] as mark