finished deleteMin impl