An initial attempt to determine if a tree is balanced or not, runtime error (maybe stack overflowed) for large data set.