An Oil Transportation Decision Algorithm: Using Graph Theory in the Event of a Pipeline Failure