code: function _setState (lattice, size) {
      for (var num = 0; num < size; num++) {
        var cell = {}
        cell.state = getRandomState()
        lattice.push(cell)
      }
  
      return lattice
    }
docs: get a random state and create all cells