implement AVLVertex class