Update vector.cpp