Small C++ implementation of Linked Lists