Optimisation of ppm_read_from_file and ppm_write_to_file including fopen and fclose
added .gitignore