create CharArray.cpp to check how char array works