implementation of Game Of Life (and Death)