Maximum Path Sum Dp Leetcode Problem 23