finished delete function of CAVL.