added state and isAlive() to Cell.js