AVL Tree implementation in C