MinimumPathSum. Dynamic Programming.