exercise11.2.c  added traverse list with two pointers, and prepend new node to the list