Add __enter__ and __exit__ methods to enable with-statement
Add gitignore with compiled files
Merge pull request #4 from pswaminathan/master

Add __enter__ and __exit__ methods to enable with-statement