Fix hanging parens and indentation.
Update .gitignore
Merge pull request #4 from ghoseb/master

Minor improvements.