add fuction WriteInFileArray in MyArray.h, get new code in input_output_array.cpp