py edition of  http://www.bitstorm.org/gameoflife/