Implement linked list operations.
•InsertBack
•InsertFront
•InsertAfter
•InsertBefore
•Delete
•DeleteFront
•DeleteBack
•Reverse
•Rotate
Commands, following by arguments if necessary.
e.g. InsertBack
InsertFront 0,
PrintChain
Reverse
DeleteBack
InsertBefore 9 3
0 < Node_id < 100000
For rotate, 0 < k < 100000
Whenever PrintChain is called, print every element in the list
e.g. 1->2->3->4->5
NTHU, DS, Data Structure, Homework, Linked List.