public Grid(int row, int column,Random rand) {
        rows = row;
        columns = column;
        cells = new Entity[rows*columns];

        //Fill the grid with death cells
        int cellID = 0;
        for (int i = 0; i < rows; i++) {
            for (int j = 0; j < columns; j++) {
                System.out.println("Cell " + cellID + " created");
                cells[cellID] = new Entity(EntityStates.DEAD,new Location(j+1,i+1));
                ++cellID;
            }
        }

        //Put some alive cells
        for(Entity cell : cells) {
            //Set cells alive (20% chance)
            if(rand.nextInt(101) < 20) {
                cell.setState(EntityStates.ALIVE);
            }
        }

    }