finish Minimum Path Sum