My own C++ implementation of things you might find in the Java Collections API