Create write_png.c

ANSI C code snippet to quickly write PNGs that don't suck.
Update write_png.c

typos =/
Merge pull request #7 from Frangible/patch-1

Create write_png.c