Grid generator implementation step 1

In this step I am calculating how many cell will be created and giving
them a random value (dead or alive). See the NSLog.