Originally Posted by xpi0t0splease don't (a) hijack threads or (b) do someone else's homework for them, whichever your post was trying to achieve. It helps nobody to have code written for them, especially when that code is broken. Look at it this way: if reading completed code samples was the best way to learn programming, that's what teachers would give you. They're not making you program just because they're sadists (they may be that as well) but because they know it's the only way to learn.
I just searched with the keyword 'game of life' and got this one. I didn't want to either solve it or hijack it. Just that I wanted to post it in a contextual place. Anyways I am sorry. I'll create a new thread.