Implement path sum problem for a tree.