add ~ files to gitignore
fix notebook formatting