implemented game of life rules in tick(). fixed a couple few off-by-ones.