adding main to .gitignore

Closes #242