add three cpp files
add .gitignore