A single source transportation algorithm