add gitignore for cpp projects.