Basic tree walker that sums the leafs is done