def get_state(cell_id):
    """
    Gets the state from a state identification number.
    :param cell_id: Natural number identifying the state
    :return: Two dimensional array containing the state
    """
    state = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]
    binary = '{0:09b}'.format(cell_id)
    index = 0
    for char in binary:
        state[index // 4][index % 4] = int(char)
        index += 1
    return state