add open and close files in fonctions write and read ppm and remove from main
Really remove fclose and openfile from main and add to fonction write and read ppm