changed the PCX and Targa file headers to use C99 stdint types instead of short, int and char
Added functions for flipping images horizontally and vertically