Added comments to the AVL-tree. It is now stable, tested and leak-free.