Renamed .c in .cpp, changed the Makefile and changed the char * into const char*