Fixed a bug with if statement

Added an if statement closing brace
Merge pull request #13 from omkarv/patch-1

Fixed a bug with if statement