find sum from root to leaf, print path