pre-commit
the summation of numbers in a tree