//rule 2 - Any live cell with two or three live neighbours 
 //lives.
 public void RemainAliveTest()
 {
     GameOfLife test = new GameOfLife(3, 3);
     test.grid[1, 1] = true;
     test.grid[1, 0] = true;
     test.grid[2, 0] = true;
     Assert.IsTrue(test.RemainAlive(1, 1));
     //another way of testing the same thing
     Assert.AreEqual(test.grid[1, 1], test.RemainAlive(1, 1));
 }