added some simple AVL stuff
added some simple AVL stuff