Adding sum of all paths from root to leaf.