minimum path sum

2-d DP