create makefile for ppm
Traduction en C++, replace malloc by new, and organize code