Add balance checker to binary tree.