Tree--Binary Tree Maximum Path Sum--tracking two values in one methods+pass by reference