Linked-List implementation in C++.