Determine a binary tree is balanced