adding two methods, cellsAlive= return number of cells alive, and randimGenerator = return a random number between 0 and some limit