Vector Class that imitates the behavior and features of C++ STL vector