Add write_ppm example