Maximum Path Sum Dp Leetcode Problem Set 4