Conways Game of Life simulator in Python