Added AVL functions, integrated AVL into inserArr, changed isAvl function