Update vector.h

Fix small bugs in homework_5(5_5)