finished converting the pgm files to png files