C++ Data Structures Implementation Linked List