renamed Tree class to AvlTree