done issue #10 and fix arcs type in find_min_path