Create am-matrix-path-find-min-num