Samokhvalov V-7
added calculation of all nodes at tree level
Merge pull request #3 from AndreySamokhvalov/master

Samokhvalov V-7