$25
Create a Java generic for a Node class. The skeleton for some functions is provided, but for others it is not. Make this a template so that it works with main.cpp. In main.cpp, use the comparison functions to do insertions in the linked list that put the list into ascending order. I’ve marked the loops in main.cpp that need to be changed.