def compute_cell_next_state(current, neighbours):
    """Return the next state of the cell on position (i, j) in alive_matrix.
    
    Parameters
    ----------
    current: int
        The state of the cell, 1 or 0 (live or dead)
    neighbours: array
        The number of alive cells around the cell.

    Returns
    -------
    new_state: int
        The new state of the cell, 1 or 0 (live or dead)
    """
    new_state = 0
    if current > 0:
        if neighbours == 2 or neighbours == 3:
            new_state = 1
    elif neighbours == 3:
        new_state = 1
    return new_state