i've writen a program that prints a list of words to a file. it uses an avl tree for balancing.
could some please tell me why my height function doesn't work and why the produced file doesn't have any words in it.
thanks.
<please see attached file>