C++ program that changes file names like imgNN.png -> imgMM.png