Add .#* to .gitignore
Flesh out write_life_file