adds .gitignore and adds automatic logging to ipython