Update gameoflife.py
Update gameoflife.py

simplified verifying input.
Merge pull request #1 from pizzaisdavid/patch-1

simplified add_glider