A simple C++ template implementation for a singly-linked list.