Solved binary tree max path sum problem.