Closed #9. Added logger.
Merge branch 'addLogger'
Modified .gitignore