added tested implementation of String class in Cpp