public void Delete(int i)
 {
     if (root != null)
     {
         root.DeleteRec(root, i);
     }
 }