strahlerNumber function

Computes Strahler number for trees and nodes