Due at the end of lab.
For this lab you will be extending your linked list. Use the same node class you created in lab 12, which should contain the following:
For this lab we are going to add the following functions to the node class:
A public recursive insert function that takes a string and an integer as arguments and adds a new node to the list in it's sorted position based on the integer (the node's ID). Like the queue function, the insert function will need to find the right place in the list to insert the new data, then create a node object with the given ID (integer) and name (string).
Note that a node that has to be inserted at the beginning of the list or at the end of the list are both special cases. You probably want to solve the general case of inserting a node in the middle of the list first.
The main code should use the node class to do the following:
Turn in: Your code and sample output showing that both types of insert work.