added log.txt and pyc files to gitignore.