Simple implementation of C++ string class using the Vec class for memory