******** fig4.36 ********** int height( avl_ptr p ) { if( p == NULL ) return -1; else return p->height; }