Fixed the ppm implementation: added max color value to file header