renamed some files from .c to .cpp