Method that tells if a binary tree is balanced has been implemented