Checking whether BST is an AVL Tree or not