Data structures lab implementing a stack and vector using C++