R assn2: added example usage in comments
updated .gitignore