Problem 1.8: Implemented do_remove_entry()