Method for adding new node at specific index in linked list
Explain code with DocComment! Try out your own code!