Update and rename .gitignore to .cpp