Fix bug in vector popback function
Add stack.h