Changed main.cpp and .gitignore