avl-tree in c and python completed