initial implementation of String in Cpp