Added Tree and made changes to AVLTree