Update linkedlist.cpp