Created and solved treeIsBalanced - helper function determines max depth of tree