added .gitignore and fixed pyhistory