A parallel image compression algorithm for .ppm files in x10