removed int[,] state, and added isAlive