count the depth difference
recursive way to determine a tree balance or not
bug free
remove duplicate
how to remove duplicates