fix example error
updated .gitignore
Merge pull request #2 from siutsin/develop

Fixed example crash, updated gitignore