solved Minimum Path Sum