adding Vector.h code