Binary Tree Maximum Path Sum Lintcode