Update to life.py

Ok should be more accurate and run a lot faster