Implemented erase (and, in order to do so, transplant and minimum)
Tested erase