add .gitignore file to avoid committing compiled files, jar files, etc.