Write and test a function for the vertex-deletion algorithm in Exercise.
Exercise ,
Delete a vertex containing a given data item and all edges incident to it.
The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.