Can check that a tree is balanced