Maximum Path Sum Dp Leetcode Problem