added .gitignore, fixed minor bug