title: Filling an array with true and false booleans randomly in c# (and other questions)
body: <p>Currently studying on University, learning programming and I got a homework which i can't really solve.</p>
  
  <p>My task is to create Conway's Game of Life where you make an array which you have to fill with "cells"
  These cells can be dead and alive, and you have tu randomly fill the array with random dead and alive cells.
  My first tought was to fill the cells with zeros and ones, zero represents the dead cells and ones represents the alive cells.</p>
  
  <p>The game has a few rules, for example </p>
  
  <ul>
  <li>if an alive cell has 2 or less alive neighbors it becomes dead</li>
  <li>if an alive cell has 2 or 3 alive neighbours it remains alive</li>
  <li>if and alive cell has 3 or more alive neighbours it becomes dead</li>
  <li>if a dead cell has 3 alive neighbours it becomes alive</li>
  </ul>
  
  <p>This game goes on, has multiple rounds where all these cells change their state based on the rules. I have to keep track of a cells state changes and have to track the most numbers when it remained alive.</p>
  
  <p>My questions are: </p>
  
  <ul>
  <li>Should i make a new class?</li>
  <li>Should i declare the state of them with true/false or 0/1. If i should use true/false how can i fill a matrix with true and false values randomly?</li>
  <li>As you see in the rules i have to tell if the cell is alive or dead before i implement the rules and change the state of the cell.How would you do that?</li>
  </ul>
  
  <p>Sorry if i did ask a lot of questions.
  Thanks in advance!
  Tamas</p>