Create life.py

Adding before I have a git repo set up.