main.cpp and .gitignore added