Recreation of the stl vector container for educational purposes