added .gitignore and a c++ main