Implement delete_min