added compile.sh
added ppm_write_header(), renamed ppm_write_method_t to ppm_writemethod_t, made use of `<inttypes.h>` string formatting macros