my version of c++ vector by book Programming principles and practice using cpp.