modified avl.c and graphs file