Small practice with linked list in C++.