Custom C++ String class for Software Design (C++)