.gitignore, moved grid into main.cpp