added .gitignore and tidied up pyc files