Changes in singly linked list C++ implementation.