Check if a binary tree is balanced. Seems wrong or at least inefficient. Before compiling.