Added .gitignore. Extended README.md with code samples