updated README.md
added main()
updated .gitignore